let userRegisteVm = new Vue({
  el: "#appRegiste",
  data: {
    user: {
      'username': "",
      'password': "",
    },
  },

  methods: {
    submit: function(){
      axios.post('/user/signUp', userRegisteVm.user).then(function(){
        alert('注册成功，请登录');
        window.location.href = '/pages/userLogin.html';
      })
    },
  }
})


